<div id="block_sortable" class="thumbnail user_profile_stack" data-drop="true" data-jqyoui-options ng-model="profile_" jqyoui-droppable ng-app="routerApp">
    <?php foreach ($this->widgets as $widget) : ?>
        <div class="user_widget_block" num="<?php echo $widget->id ?>" id="user_block_<?php echo $widget->id ?>" data-drop="true" data-jqyoui-options ng-model="profile_" jqyoui-droppable>
            <div id="widget_block_<?php echo $widget->id ?>" ng-model="widget_block_<?php echo $widget->id ?>">
                <div class="panel panel-default">
            <span class="user_block_head">
                <div class="user_block_title"><?php echo $widget->name ?></div>
                <button type="button" class="close user_block_close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <span>
            <!--
            <div class="btn-group user_block_head_button">
                <button type="button" class="btn btn-default">
                    <span class="glyphicon glyphicon-pencil"></span> Edit
                </button>
                <button type="button" class="btn btn-default">
                    <span class="glyphicon glyphicon-ok"></span> Done
                </button>

                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" tabindex="-1">
                    <span class="caret"></span>
                    <span class="sr-only">Toggle Dropdown</span>
                </button>
                <ul class="dropdown-menu pull-right" role="menu">
                    <li><a href="#">Action</a></li>
                    <li><a href="#">Another action</a></li>
                    <li><a href="#">Something else here</a></li>
                    <li class="divider"></li>
                    <li><a href="#">Separated link</a></li>
                </ul>
            </div>
            </span> -->

                    <div class="panel-body user_skill_panel" id="widget_content_<?php echo $widget->id ?>">
                    </div>
                </div>
                </ul>
            </div>
        </div>
    <?php endforeach ?>
</div>